import { ApiProperty } from '@nestjs/swagger';
import { IsNotEmpty } from 'class-validator';
import { User } from 'src/entities/user.entity';
import { ADDFRIENDENUM } from 'src/enum/addFriendEnum';

export class AddFriendDto {
  id: string;

  @ApiProperty({ default: '' })
  @IsNotEmpty()
  userId: string;


  @ApiProperty({ default: '' })
  @IsNotEmpty()
  addFriendUserId: string;

  @ApiProperty({ default: 0, enum: ADDFRIENDENUM })
  @IsNotEmpty()
  state: number;
}
